//
//  LVBaseSectionHeaderFooterReusableView.m
//  ListViewModel
//
//  Created by 曹连华 on 2022/7/14.
//

#import "LVBaseSectionHeaderFooterReusableView.h"
#import "LVBaseSectionHeaderFooterModel.h"

@interface LVBaseSectionHeaderFooterReusableView ()

@property (nonatomic, strong) NSIndexPath *indexPath;

@end

@implementation LVBaseSectionHeaderFooterReusableView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if(self) {
        [self initUI];
    }
    return self;
}

- (void)initUI {
    self.backgroundColor = UIColor.grayColor;
}

- (void)updateWithHeaderFooterModel:(LVBaseSectionHeaderFooterModel *)headerFooterModel
                        atIndexPath:(NSIndexPath *)indexPath {
    self.indexPath = indexPath;
}

+ (NSString *)reuseIdentifier {
    return NSStringFromClass([self class]);
}

@end
